Removed local-bottom script and moved its content to local-top.