adds basic script for player object