Adjusted the pickup scripts to work in game.