removing reundant scripts