added stp
added permissions to rtp
tweaked htmlout