Finished Application script