script declaration siplified