u probely got 1 } to much so the script closes itself before it gets yo your alias (if your alias is lower in the script then that other line)