Removed execute permissions, as it is not needed if they are sourced, and could read wrong SCRIPTNAME if the header is not sourced.