compiling simple scripts