Python Create Executable Shell Script If Variable Notation